home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ASP Advantage 1993
/
The Association of Shareware Professionals Advantage CD-ROM 1993.iso
/
files
/
gameword
/
xdown28
/
install.bat
< prev
next >
Wrap
DOS Batch File
|
1993-05-13
|
1KB
|
55 lines
@echo off
if '%1'=='' goto INSTR
C:
cd\
md XDOWN
cd XDOWN
if '%1'=='A' goto ADRIVE
copy B:\*.*
goto LOOP
:ADRIVE
copy A:\*.*
goto LOOP
:INSTR
echo You must type INSTALL followed by a space
echo followed by the letter of the drive you are
echo installing from. For example, the command:
echo INSTALL A
echo installs CROSSDOWN from the A floppy drive.
goto END
:LOOP
if exist C:\XDOWN\XWD2LPT1.EXE del C:\XDOWN\XWD2LPT1.EXE
cls
echo PLEASE SELECT YOUR PRINTER (1-4)
echo --------------------------------
echo 1 - Epson 9-Pin Dot Matrix
echo 2 - Epson 24-Pin Dot Matrix
echo 3 - Hewlett Packard LaserJet
echo 4 - PostScript
getptr
if errorlevel 52 goto POST
if errorlevel 51 goto HPLJ
if errorlevel 50 goto EP24
if errorlevel 49 goto EP09
goto LOOP
:POST
ren C:\XDOWN\XWD2PS.EXE XWD2LPT1.EXE
goto DONE
:HPLJ
ren C:\XDOWN\XWD2HPL.EXE XWD2LPT1.EXE
goto DONE
:EP24
ren C:\XDOWN\XWD2EP24.EXE XWD2LPT1.EXE
goto DONE
:EP09
ren C:\XDOWN\XWD2EP9.EXE XWD2LPT1.EXE
:DONE
del C:\XDOWN\GETPTR.COM
del C:\XDOWN\INSTALL.BAT
cls
echo ***********************************
echo CROSSDOWN INSTALLATION IS COMPLETE!
echo TYPE XDOWN [ENTER] TO RUN.
echo ***********************************
:END